MailPoet\Validator\Validator S

Total Complexity 47
Dependencies 6
Dependents 2
Total lines 188
Lines of code 131
Logical lines of code 87
Comment lines 36
Methods 6
Properties 1

Methods 6

Method Rating Maintainability Complexity Lines of code
validateAndSanitizeValueFromSchema()
D
34 34 79
validateAndSanitizeOneOf()
S
53 5 23
validateAndSanitizeAnyOf()
S
61 3 11
validate()
S
68 2 7
getTypeError()
S
66 2 8
__construct()
S
81 1 3